# -*- coding:utf-8 -*-
"""
Author：Administrator
Date:2021年12月04日
"""
import pandas as pd

df1 = pd.DataFrame({"A": ['mrA01', 'mrA02'],
                    'B': ['mrB01', 'mrB02'],
                    'C': ['mrC01', 'mrC02'],
                    'D': ['mrD01', 'mrD02']})
df4 = pd.DataFrame({"D": ['mrD01', 'mrD02', 'mrD03', 'mrD04', 'mrD05', 'mrD06'],
                    'E': ['mrE01', 'mrE02', 'mrE03', 'mrE04', 'mrE05', 'mrE06'],
                    'F': ['mrF01', 'mrF02', 'mrF03', 'mrF04', 'mrF05', 'mrF06'],
                    })

dfs = [df1, df4]
result = pd.concat(dfs, axis=1, join='inner')
print(result)
